package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.DishFlavor;
import com.itheima.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FlavorMapper extends BaseMapper<Employee> {
    int insertFlavor(DishFlavor dishFlavor);

    int deleteFlavors(@Param("dishIds") String... dishIds);

    List<DishFlavor> selectByDishId(@Param("dishId")String dishId);
}
